package com.hotel.domain.service;

import com.hotel.common.PageEntity;
import com.hotel.pojo.RoomType;

import java.util.List;

public interface RoomTypeService {

    //增加
    int addRoomType(RoomType roomType);
    //更新
    int updateRoomType(RoomType roomType);
    //查询
    PageEntity<RoomType> getRoomTypeList(RoomType roomType, int page, int perPage);
    //获得所有房间类型
    List<RoomType> getAllRoomType();

}
